package com.mlnx.stream.service;


import com.mlnx.data.entity.BpInfo;
import com.mlnx.data.entity.SpoInfo;
import com.mlnx.data.entity.SugarInfo;
import com.mlnx.device.pojo.dto.DeviceStateRecord;
import com.mlnx.device.pojo.dto.EcgInfoMsg;

/**
 * Created by amanda.shan on 2019/10/11.
 * <p>
 * 广播收拾的信息，发送给监听者
 */
public interface DeviceBroadcastService {

    int getEcgNotProcessCount();

    void deviceOnline(String deviceId);

    void castEcgInfo(EcgInfoMsg ecgInfoMsg);

    void castStartEcg(Integer patientId, String deviceId);

    void castStopEcg(Integer patientId, String deviceId);

    void castDeviceState(DeviceStateRecord deviceStateRecord);

    void castXmbpElectric(Integer patientId, Integer batteryLevel);

    void castBpInfo(BpInfo bpInfo);

    void castSpoInfo(SpoInfo spoInfo);

    void castSugarInfo(SugarInfo sugarInfo);

    void savaSynXmbp(BpInfo bpInfo);
}
